Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: open in explore traces button #335

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kozhuhds
Copy link

Exposes an OpenInExploreTracesButton component which takes properties and creates a LinkButton with a href to navigate to the Explore Traces app from outside.

@kozhuhds
Copy link
Author

hmm, spell-check doesn't like word drilldown 😄

Copy link
Collaborator

@adrapereira adrapereira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor request to rename all instances of drilldown to Drilldown and then we're good to merge!

href={href}
onClick={() => setReturnToPrevious(returnToPreviousSource || 'previous')}
>
Open in Traces drilldown
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Drilldown should be uppercase. It might also be useful to have a prop for this text:

Suggested change
Open in Traces drilldown
{props.title ?? 'Open in Traces Drilldown'}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants